Repository navigation
Conversation
1. Root cause: FlowStyle.qml spinBox QtObject never defined indicatorWidth/indicatorSpacing, causing SpinBoxIndicator and SpinBox to read undefined values for button width and spacing 2. Fix: add indicatorWidth: 24 (matches indicator.width) and indicatorSpacing: 0 to both Qt6 and Qt5 FlowStyle.qml 3. Impact: SpinBox indicator buttons render at correct width with centered icons; no effect on other controls Log: Fix SpinBox indicator button icon alignment issue Influence: 1. Test SpinBox indicator button icon is centered 2. Test SpinBox up/down buttons display correctly 3. Verify no regression on other Style properties fix: 补充 spinBox 缺失的 indicatorWidth 和 indicatorSpacing 属性 1. 根因:FlowStyle.qml 中 spinBox QtObject 从未定义 indicatorWidth/indicatorSpacing 属性,导致 SpinBoxIndicator 和 SpinBox 读取到 undefined 值 2. 方案:在 Qt6 和 Qt5 的 FlowStyle.qml 中添加 indicatorWidth: 24 (与 indicator.width 一致)和 indicatorSpacing: 0 3. 影响:SpinBox 指示器按钮按正确宽度渲染,图标居中显示; 不影响其他控件 Log: 修复 SpinBox 指示器按钮图标偏左问题 Influence: 1. 测试 SpinBox 指示器按钮图标居中显示 2. 测试 SpinBox 上下按钮显示正常 3. 验证其他 Style 属性无回归 PMS: BUG-341599
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: pengfeixx The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Reviewer's GuideUIAdd the missing SpinBox indicator width and spacing properties to both Qt5 and Qt6 styles so the indicator buttons render at the intended size.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
CLA Assistant Lite bot: shuttle slave seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. |
|
TAG Bot New tag: 6.7.54 |
fix: add missing spinBox indicatorWidth and indicatorSpacing
indicatorWidth/indicatorSpacing, causing SpinBoxIndicator and
SpinBox to read undefined values for button width and spacing
indicatorSpacing: 0 to both Qt6 and Qt5 FlowStyle.qml
centered icons; no effect on other controls
Log: Fix SpinBox indicator button icon alignment issue
Influence:
fix: 补充 spinBox 缺失的 indicatorWidth 和 indicatorSpacing 属性
indicatorWidth/indicatorSpacing 属性,导致 SpinBoxIndicator
和 SpinBox 读取到 undefined 值
(与 indicator.width 一致)和 indicatorSpacing: 0
不影响其他控件
Log: 修复 SpinBox 指示器按钮图标偏左问题
Influence:
PMS: BUG-341599
Summary by Sourcery
Bug Fixes: